﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:element name="ApplyLeave">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" minOccurs="0" name="info" nillable="true" type="q1:LeaveInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApplyLeaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="ApplyLeaveResult" nillable="true" type="q2:StatusInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AuditLeave">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="leaveInfoId" type="q3:guid" />
        <xs:element minOccurs="0" name="isAgreed" type="xs:boolean" />
        <xs:element minOccurs="0" name="auditNote" nillable="true" type="xs:string" />
        <xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="auditId" type="q4:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AuditLeaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="AuditLeaveResult" nillable="true" type="q5:StatusInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDefaultAttendanceStatus">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q6:guid" />
        <xs:element minOccurs="0" name="time" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDefaultAttendanceStatusResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetDefaultAttendanceStatusResult" nillable="true" type="q7:StatusInfoOfAttendanceStatuss0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceStatus">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q8:guid" />
        <xs:element minOccurs="0" name="actionTime" type="xs:dateTime" />
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" minOccurs="0" name="attendanceInfo" type="q9:AttendanceType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceStatusResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetAttendanceStatusResult" nillable="true" type="q10:StatusInfoOfAttendanceStatuss0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CheckAttendance">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q11:guid" />
        <xs:element minOccurs="0" name="actionTime" type="xs:dateTime" />
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" minOccurs="0" name="attendanceType" type="q12:AttendanceType" />
        <xs:element minOccurs="0" name="explaination" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CheckAttendanceResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="CheckAttendanceResult" nillable="true" type="q13:StatusInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllLeaveTypes">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllLeaveTypesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetAllLeaveTypesResult" nillable="true" type="q14:StatusInfoOfArrayOfLeaveTypes0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceConfig">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceConfigResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetAttendanceConfigResult" nillable="true" type="q15:StatusInfoOfAttendanceConfigs0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceInfoListByUsersInDay">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="day" type="xs:dateTime" />
        <xs:element xmlns:q16="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="userIdList" nillable="true" type="q16:ArrayOfguid" />
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" minOccurs="0" name="attendanceType" nillable="true" type="q17:AttendanceType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceInfoListByUsersInDayResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetAttendanceInfoListByUsersInDayResult" nillable="true" type="q18:StatusInfoOfArrayOfAttendanceInfos0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceInfoListByUserInDay">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="day" type="xs:dateTime" />
        <xs:element xmlns:q19="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q19:guid" />
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" minOccurs="0" name="attendanceType" nillable="true" type="q20:AttendanceType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceInfoListByUserInDayResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetAttendanceInfoListByUserInDayResult" nillable="true" type="q21:StatusInfoOfArrayOfAttendanceInfos0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceInfoListByUsersBetweenDays">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="startDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="endDate" type="xs:dateTime" />
        <xs:element xmlns:q22="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="userIdList" nillable="true" type="q22:ArrayOfguid" />
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" minOccurs="0" name="attendanceType" nillable="true" type="q23:AttendanceType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceInfoListByUsersBetweenDaysResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetAttendanceInfoListByUsersBetweenDaysResult" nillable="true" type="q24:StatusInfoOfArrayOfAttendanceInfos0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceInfoListByUserBetweenDays">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="startDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="endDate" type="xs:dateTime" />
        <xs:element xmlns:q25="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q25:guid" />
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" minOccurs="0" name="attendanceType" nillable="true" type="q26:AttendanceType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttendanceInfoListByUserBetweenDaysResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetAttendanceInfoListByUserBetweenDaysResult" nillable="true" type="q27:StatusInfoOfArrayOfAttendanceInfos0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDayInfo">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q28="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="CurrentUserId" type="q28:guid" />
        <xs:element minOccurs="0" name="theDay" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDayInfoResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetDayInfoResult" nillable="true" type="q29:StatusInfoOfDayInfos0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDayLeaveInfo">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q30="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q30:guid" />
        <xs:element minOccurs="0" name="theDay" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDayLeaveInfoResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetDayLeaveInfoResult" nillable="true" type="q31:StatusInfoOfDayLeaveInfos0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLeaveInfoById">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q32="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="leaveId" type="q32:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLeaveInfoByIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q33="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetLeaveInfoByIdResult" nillable="true" type="q33:StatusInfoOfLeaveInfos0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLeaveInfoList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="startTime" nillable="true" type="xs:dateTime" />
        <xs:element minOccurs="0" name="endTime" nillable="true" type="xs:dateTime" />
        <xs:element minOccurs="0" name="createTimeStart" nillable="true" type="xs:dateTime" />
        <xs:element minOccurs="0" name="createTimeEnd" nillable="true" type="xs:dateTime" />
        <xs:element xmlns:q34="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" nillable="true" type="q34:guid" />
        <xs:element minOccurs="0" name="isAudited" nillable="true" type="xs:boolean" />
        <xs:element minOccurs="0" name="isAgreed" nillable="true" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLeaveInfoListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetLeaveInfoListResult" nillable="true" type="q35:StatusInfoOfArrayOfLeaveInfos0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLeaveTypeyById">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q36="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="leaveTypeId" type="q36:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLeaveTypeyByIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q37="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetLeaveTypeyByIdResult" nillable="true" type="q37:StatusInfoOfLeaveTypes0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDayAttendanceEvaluation">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q38="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q38:guid" />
        <xs:element minOccurs="0" name="date" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDayAttendanceEvaluationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q39="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetDayAttendanceEvaluationResult" nillable="true" type="q39:StatusInfoOfDayAttendanceEvaluations0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApplyEvaluationModify">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q40="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q40:guid" />
        <xs:element minOccurs="0" name="date" type="xs:dateTime" />
        <xs:element minOccurs="0" name="applyText" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApplyEvaluationModifyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q41="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="ApplyEvaluationModifyResult" nillable="true" type="q41:StatusInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCurrentEvaluationModifyApplication">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q42="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q42:guid" />
        <xs:element minOccurs="0" name="date" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCurrentEvaluationModifyApplicationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q43="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetCurrentEvaluationModifyApplicationResult" nillable="true" type="q43:StatusInfoOfEvaluationModifyApplicaitons0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetEvaluationModifyApplicaitons">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q44="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q44:guid" />
        <xs:element minOccurs="0" name="date" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetEvaluationModifyApplicaitonsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q45="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetEvaluationModifyApplicaitonsResult" nillable="true" type="q45:StatusInfoOfArrayOfEvaluationModifyApplicaitons0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ModifyEvaluation">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q46="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Attendance" minOccurs="0" name="newAttendanceEvaluation" nillable="true" type="q46:DayAttendanceEvaluation" />
        <xs:element xmlns:q47="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="operatorId" type="q47:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ModifyEvaluationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q48="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="ModifyEvaluationResult" nillable="true" type="q48:StatusInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RejectEvaluationApplication">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q49="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="actorId" type="q49:guid" />
        <xs:element xmlns:q50="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="applicationId" type="q50:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RejectEvaluationApplicationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q51="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="RejectEvaluationApplicationResult" nillable="true" type="q51:StatusInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetEvaluationModifyHistory">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q52="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="userId" type="q52:guid" />
        <xs:element minOccurs="0" name="date" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetEvaluationModifyHistoryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/EzDesk.Utility.ServiceStatusInfo" minOccurs="0" name="GetEvaluationModifyHistoryResult" nillable="true" type="q53:StatusInfoOfArrayOfEvaluationModifyHistorys0vleWKy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>